home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / haeberli / fonttools / fntslide.c < prev    next >
C/C++ Source or Header  |  1994-08-01  |  19KB  |  754 lines

  1. /*
  2.  * Copyright 1991, 1992, 1993, 1994, Silicon Graphics, Inc.
  3.  * All Rights Reserved.
  4.  *
  5.  * This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;
  6.  * the contents of this file may not be disclosed to third parties, copied or
  7.  * duplicated in any form, in whole or in part, without the prior written
  8.  * permission of Silicon Graphics, Inc.
  9.  *
  10.  * RESTRICTED RIGHTS LEGEND:
  11.  * Use, duplication or disclosure by the Government is subject to restrictions
  12.  * as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data
  13.  * and Computer Software clause at DFARS 252.227-7013, and/or in similar or
  14.  * successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -
  15.  * rights reserved under the Copyright Laws of the United States.
  16.  */
  17. /*
  18.  *    fontslide 
  19.  *        Make text slides.
  20.  *
  21.  *                Paul Haeberli - 1990
  22.  *
  23.  */
  24. #include "gl.h"
  25. #include "device.h"
  26. #include "stdio.h"
  27. #include "objfnt.h"
  28.  
  29. #define SLMIN    0
  30. #define SLMAX    51
  31. #define YOFFSET    5.5
  32. #define MYOFFSET    4.5
  33. #define LISTSIZE    0.7
  34.  
  35. char *name;
  36. float fgetmousex();
  37. float flerp();
  38. int slideno;
  39.  
  40. main(argc,argv)
  41. int argc;
  42. char **argv;
  43. {
  44.     short val;
  45.     int menu;
  46.  
  47.     noborder();
  48.     prefposition(0,XMAXSCREEN,0,YMAXSCREEN);
  49.     winopen("fontslide");
  50.     doublebuffer();
  51.     RGBmode();
  52.     gconfig();
  53.     subpixel(1);
  54.     slideno = SLMIN;
  55.     drawit();
  56.     swapbuffers();
  57.     qdevice(LEFTMOUSE);
  58.     qdevice(ESCKEY);
  59.     qdevice(PAGEUPKEY);
  60.     qdevice(PAGEDOWNKEY);
  61.     while(1) {
  62.     switch(qread(&val)) {
  63.         case REDRAW:
  64.         drawit();
  65.         swapbuffers();
  66.         break;
  67.         case ESCKEY:
  68.         exit(0);
  69.         break;
  70.         case PAGEUPKEY:
  71.         if(!val) {
  72.             slideno++;
  73.             if(slideno > SLMAX)
  74.             slideno = SLMAX;
  75.             drawit();
  76.             swapbuffers();
  77.         }
  78.         break;
  79.         case PAGEDOWNKEY:
  80.         if(!val) {
  81.             slideno--;
  82.             if(slideno < SLMIN)
  83.             slideno = SLMIN;
  84.             drawit();
  85.             swapbuffers();
  86.         }
  87.         break;
  88.         case LEFTMOUSE:
  89.         if(val) {
  90.             while(getbutton(LEFTMOUSE)) {
  91.             slideno = flerp((float)SLMIN,(float)SLMAX,fgetmousex())+0.5;
  92.             drawit();
  93.             swapbuffers();
  94.             }
  95.         }
  96.         break;
  97.     }
  98.     }
  99. }
  100.  
  101. printem()
  102. {
  103.     int i;
  104.  
  105.     for(i=SLMIN; i<=SLMAX; i++) {
  106.     slideno = i;
  107.     drawit();
  108.     swapbuffers();
  109.     system("scrsave /tmp/t.bw 0 1279 0 1023 -b");
  110.     system("imgexp /tmp/t.bw /tmp/e.bw");
  111.     system("invert /tmp/e.bw /tmp/i.bw");
  112.     system("izoom /tmp/i.bw /tmp/z.bw 0.5 0.5 -i");
  113.     system("tops /tmp/z.bw -b 1 | lp -dkhaki -o-h");
  114.     }
  115. }
  116.  
  117. drawit()
  118. {
  119.     reshapeviewport();
  120.     ortho2(0.0,10.0,0.0,8.0);
  121.  
  122.     cpack(0x00400000);
  123.     clear();
  124.     fontname("./slide.mf");
  125.     switch(slideno) {
  126.     case 0:
  127.         fontsetsize(0.7);
  128.         fontmoveto(1.0,6.0);
  129.         cpack(0x0000ffff);
  130.         fontshow("Rendering Goals");
  131.         cpack(0x00ffffff);
  132.         fontsetsize(0.7);
  133.         fontmoveto(1.5,5.0);
  134.         fontshow("~ Compatibility");
  135.         fontmoveto(1.5,4.0);
  136.         fontshow("~ High Quality");
  137.         fontmoveto(1.5,3.0);
  138.         fontshow("~ Smooth perfm'nce/");
  139.         fontmoveto(2.5,2.0);
  140.         fontshow("  quality tradeoff");
  141.         break;
  142.  
  143.     case 1:
  144.         fontsetsize(0.7);
  145.         pushmatrix();
  146.         translate(0.0,-1.0,0.0);
  147.         fontmoveto(1.0,6.5);
  148.         cpack(0x0000ffff);
  149.         fontshow("Current Architectures");
  150.         cpack(0x00ffffff);
  151.         fontsetsize(0.7);
  152.         fontmoveto(1.5,5.0);
  153.         fontshow("~ Polygon Performance");
  154.         fontmoveto(1.5,4.0);
  155.         fontshow("~ Sampling Quality");
  156.         fontmoveto(1.5,3.0);
  157.         fontshow("~ Point Sampling");
  158.         popmatrix();
  159.         break;
  160.  
  161.     case 2:
  162.         fontsetsize(0.7);
  163.         pushmatrix();
  164.         translate(0.0,-1.0,0.0);
  165.         fontmoveto(1.0,6.5);
  166.         cpack(0x0000ffff);
  167.         fontshow("Anti-Aliasing Solutions");
  168.         cpack(0x00ffffff);
  169.         fontsetsize(0.7);
  170.         fontmoveto(1.5,5.0);
  171.         fontshow("~ Area Sampling");
  172.         fontmoveto(1.5,4.0);
  173.         fontshow("~ Multi-Point Sampling");
  174.         popmatrix();
  175.         break;
  176.     
  177.     case 3:
  178.         fontsetsize(0.7);
  179.         pushmatrix();
  180.         translate(0.0,-1.0,0.0);
  181.         fontmoveto(1.0,6.5);
  182.         cpack(0x0000ffff);
  183.         fontshow("Acc-Buffer Operations");
  184.         cpack(0x00ffffff);
  185.         fontsetsize(0.7);
  186.         fontmoveto(1.5,5.0);
  187.         fontshow("~ Clear");
  188.         fontmoveto(1.5,4.0);
  189.         fontshow("~ Add with weight");
  190.         fontmoveto(1.5,3.0);
  191.         fontshow("~ Return with scale");
  192.         popmatrix();
  193.         break;
  194.  
  195.     case 4:
  196.         fontsetsize(1.5*0.7);
  197.         fontmoveto(5.0,4.0);
  198.         cpack(0x00ffffff);
  199.         fontcentershow("Motion Blur");
  200.         break;
  201.  
  202.     case 5:
  203.         fontsetsize(1.5*0.7);
  204.         fontmoveto(5.0,4.0);
  205.         cpack(0x00ffffff);
  206.         fontcentershow("Depth of Field");
  207.         break;
  208.  
  209.     case 6:
  210.         fontsetsize(1.5*0.7);
  211.         fontmoveto(5.0,4.0);
  212.         cpack(0x00ffffff);
  213.         fontcentershow("Soft Shadows");
  214.         break;
  215.  
  216.     case 7:
  217.         fontsetsize(1.5*0.7);
  218.         fontmoveto(5.0,4.0);
  219.         cpack(0x00ffffff);
  220.         fontcentershow("Doing it all");
  221.         break;
  222.  
  223.     case 8:
  224.         fontsetsize(1.5*0.7);
  225.         fontmoveto(5.0,4.0);
  226.         cpack(0x00ffffff);
  227.         fontcentershow("Anti-Aliasing");
  228.         break;
  229.  
  230.     case 9:
  231.         fontsetsize(0.7);
  232.         fontmoveto(5.0,YOFFSET+1.0);
  233.         cpack(0x0000ffff);
  234.         fontcentershow("The Goal");
  235.         cpack(0x00ffffff);
  236.         fontsetsize(0.55);
  237.         fontmoveto(5.0,YOFFSET);
  238.         fontcentershow("To select and manipulate visual");
  239.         fontmoveto(5.0,YOFFSET-1.0*0.7);
  240.         fontcentershow("information to direct the");
  241.         fontmoveto(5.0,YOFFSET-2.0*0.7);
  242.         fontcentershow("viewer's attention and control");
  243.         fontmoveto(5.0,YOFFSET-3.0*0.7);
  244.         fontcentershow("their perception of an image.");
  245.         break;
  246.  
  247.     case 10:
  248.         fontsetsize(0.7);
  249.         fontmoveto(1.0,YOFFSET+1.0);
  250.         cpack(0x0000ffff);
  251.         fontshow("Brush Stroke Properties");
  252.         cpack(0x00ffffff);
  253.         fontsetsize(LISTSIZE);
  254.         fontmoveto(1.5,YOFFSET-0.0*0.8);
  255.         fontshow("~ Location");
  256.         fontmoveto(1.5,YOFFSET-1.0*0.8);
  257.         fontshow("~ Color");
  258.         fontmoveto(1.5,YOFFSET-2.0*0.8);
  259.         fontshow("~ Size");
  260.         fontmoveto(1.5,YOFFSET-3.0*0.8);
  261.         fontshow("~ Direction");
  262.         break;
  263.  
  264.     case 11:
  265.         fontsetsize(0.8);
  266.         fontmoveto(5.0,YOFFSET+1.0);
  267.         cpack(0x0000ffff);
  268.         fontcentershow("Spice for Images");
  269.         cpack(0x00ffffff);
  270.         fontsetsize(1.1);
  271.         fontmoveto(5.0,3.6);
  272.         fontcentershow("Unsharp");
  273.         fontmoveto(5.0,2.5);
  274.         fontcentershow("Masking");
  275.         break;
  276.  
  277.     case 12:
  278.         fontsetsize(0.8);
  279.         fontmoveto(5.0,YOFFSET+1.0);
  280.         cpack(0x0000ffff);
  281.         fontcentershow("Spice for Images");
  282.         cpack(0x00ffffff);
  283.         fontsetsize(1.1);
  284.         fontmoveto(5.0,3.0);
  285.         fontcentershow("Saturation");
  286.         break;
  287.  
  288.     case 13:
  289.         fontsetsize(0.8);
  290.         fontmoveto(5.0,YOFFSET+1.0);
  291.         cpack(0x0000ffff);
  292.         fontcentershow("Spice for Images");
  293.         cpack(0x00ffffff);
  294.         fontsetsize(1.1);
  295.         fontmoveto(5.0,3.0);
  296.         fontcentershow("Color Noise");
  297.         break;
  298.  
  299.     case 14:
  300.         fontsetsize(0.7);
  301.         fontmoveto(5.0,YOFFSET+1.0);
  302.         cpack(0x0000ffff);
  303.         fontcentershow("Le But");
  304.         cpack(0x00ffffff);
  305.         fontsetsize(0.5);
  306.         fontmoveto(5.0,YOFFSET);
  307.         fontcentershow("Selectionner et manipuler les");
  308.         fontmoveto(5.0,YOFFSET-1.0*0.4);
  309.         fontcentershow("informations visuelles pour:");
  310.         fontmoveto(5.0,4.25-2.0*0.4);
  311.         fontcentershow("~diriger l'attention sur un");
  312.         fontmoveto(5.0,4.25-3.0*0.4);
  313.         fontcentershow("point precis");
  314.         fontmoveto(5.0,4.0-4.0*0.4);
  315.         fontcentershow("~modifier et controler la");
  316.         fontmoveto(5.0,4.0-5.0*0.4);
  317.         fontcentershow("perception de l'image.");
  318.         break;
  319.  
  320.     case 15:
  321.         fontsetsize(0.7);
  322.         cpack(0x0000ffff);
  323.         fontmoveto(1.5,YOFFSET+1.0);
  324.         fontshow("Les proprietes du");
  325.         fontmoveto(3.5,4.9);
  326.         fontshow("coup de brosse");
  327.         cpack(0x00ffffff);
  328.         fontsetsize(LISTSIZE);
  329.         fontmoveto(2.5,4.0-0.0*0.7);
  330.         fontshow("~ la position");
  331.         fontmoveto(2.5,4.0-1.0*0.7);
  332.         fontshow("~ la couleur");
  333.         fontmoveto(2.5,4.0-2.0*0.7);
  334.         fontshow("~ la taille");
  335.         fontmoveto(2.5,4.0-3.0*0.7);
  336.         fontshow("~ la direction");
  337.         break;
  338.  
  339.     case 16:
  340.         fontsetsize(0.8);
  341.         fontmoveto(5.0,YOFFSET+1.0);
  342.         cpack(0x0000ffff);
  343.         fontcentershow("Du sel pour les images");
  344.         cpack(0x00ffffff);
  345.         fontsetsize(0.9);
  346.         fontmoveto(5.0,3.0);
  347.         fontcentershow("Saturation");
  348.         break;
  349.  
  350. #ifdef NOTDEF
  351.     case 17:
  352.         fontsetsize(0.8);
  353.         fontmoveto(5.0,YOFFSET+1.0);
  354.         cpack(0x0000ffff);
  355.         fontcentershow("Du sel pour les images");
  356.         cpack(0x00ffffff);
  357.         fontsetsize(0.9);
  358.         fontmoveto(5.0,3.5);
  359.         fontcentershow("Accentuer");
  360.         fontmoveto(5.0,2.5);
  361.         fontcentershow("les contrastes");
  362.         break;
  363.  
  364.     case 18:
  365.         fontsetsize(0.8);
  366.         fontmoveto(5.0,YOFFSET+1.0);
  367.         cpack(0x0000ffff);
  368.         fontcentershow("Du sel pour les images");
  369.         cpack(0x00ffffff);
  370.         fontsetsize(0.9);
  371.         fontmoveto(5.0,3.5);
  372.         fontcentershow("A jouter du bruit");
  373.         fontmoveto(5.0,2.5);
  374.         fontcentershow("a la couleur");
  375.         break;
  376. #endif
  377.     case 17:
  378.         fontsetsize(0.8);
  379.         cpack(0x00ffffff);
  380.         fontmoveto(5.0,YOFFSET+0.0);
  381.         fontcentershow("Graphics Utility");
  382.         fontmoveto(5.0,YOFFSET-1.5);
  383.         fontcentershow("Tools and Libraries");
  384.         cpack(0x0000d0ff);
  385.         fontsetsize(0.6);
  386.         fontmoveto(5.0,YOFFSET-3.5);
  387.         fontcentershow("Paul Haeberli");
  388.         break;
  389.  
  390.     case 18:
  391.         fontsetsize(3.0);
  392.         fontmoveto(5.0,YOFFSET-1.75);
  393.         cpack(0x000000ff);
  394.         fontcentershow("GX6");
  395.         break;
  396.  
  397.     case 19:
  398.         fontsetsize(0.8);
  399.         fontmoveto(5.0,YOFFSET+1.0);
  400.         cpack(0x0000ffff);
  401.         fontcentershow("Image Formats");
  402.         cpack(0x00ffffff);
  403.         fontsetsize(LISTSIZE);
  404.         fontmoveto(1.5,YOFFSET-0.0*0.8);
  405.         fontshow("~ SGI format");
  406.         fontmoveto(1.5,YOFFSET-1.0*0.8);
  407.         fontshow("~ TIFF format");
  408.         fontmoveto(1.5,YOFFSET-2.0*0.8);
  409.         fontshow("~ D1 Digital Video");
  410.         fontmoveto(1.5,YOFFSET-3.0*0.8);
  411.         fontshow("~ Others");
  412.         break;
  413.  
  414.     case 20:
  415.         fontsetsize(0.8);
  416.         fontmoveto(5.0,YOFFSET+1.0);
  417.         cpack(0x0000ffff);
  418.         fontcentershow("Image Functions");
  419.         cpack(0x00ffffff);
  420.         fontsetsize(LISTSIZE);
  421.         fontmoveto(1.5,YOFFSET-0.0*0.8);
  422.         fontshow("~ Reading/Writing");
  423.         fontmoveto(1.5,YOFFSET-1.0*0.8);
  424.         fontshow("~ Auto-trace routines");
  425.         fontmoveto(1.5,YOFFSET-2.0*0.8);
  426.         fontshow("~ Dithering functions");
  427.         fontmoveto(1.5,YOFFSET-3.0*0.8);
  428.         fontshow("~ Image zoom");
  429.         break;
  430.  
  431.     case 21:
  432.         fontsetsize(0.8);
  433.         fontmoveto(5.0,YOFFSET+1.0);
  434.         cpack(0x0000ffff);
  435.         fontcentershow("Image Tools");
  436.         cpack(0x00ffffff);
  437.         fontsetsize(LISTSIZE);
  438.         fontmoveto(1.5,YOFFSET-0.0*0.8);
  439.         fontshow("~ Scope");
  440.         fontmoveto(1.5,YOFFSET-1.0*0.8);
  441.         fontshow("~ Movie");
  442.         fontmoveto(1.5,YOFFSET-2.0*0.8);
  443.         fontshow("~ Dithering program");
  444.         fontmoveto(1.5,YOFFSET-3.0*0.8);
  445.         fontshow("~ Image zoom");
  446.         break;
  447.  
  448.     case 22:
  449.         fontsetsize(0.8);
  450.         cpack(0x0000ffff);
  451.         fontmoveto(5.0,YOFFSET);
  452.         fontcentershow("Digital Color");
  453.         fontmoveto(5.0,3.5);
  454.         fontcentershow("Separation");
  455.         break;
  456.  
  457.     case 23:
  458.         fontsetsize(0.8);
  459.         cpack(0x0000ffff);
  460.         fontmoveto(5.0,YOFFSET+1.0);
  461.         fontcentershow("Env Map Tools");
  462.         cpack(0x00ffffff);
  463.         fontsetsize(LISTSIZE);
  464.         fontmoveto(1.5,YOFFSET-0.0*0.8);
  465.         fontshow("~ fromfish");
  466.         fontmoveto(1.5,YOFFSET-1.0*0.8);
  467.         fontshow("~ envreduce");
  468.         fontmoveto(1.5,YOFFSET-2.0*0.8);
  469.         fontshow("~ envexpand");
  470.         fontmoveto(1.5,YOFFSET-3.0*0.8);
  471.         fontshow("~ sphereenv");
  472.         break;
  473.  
  474.     case 24:
  475.         fontsetsize(0.8);
  476.         cpack(0x0000ffff);
  477.         fontmoveto(5.0,YOFFSET+1.0);
  478.         fontcentershow("An Image Database");
  479.         cpack(0x00ffffff);
  480.         fontsetsize(LISTSIZE);
  481.         fontmoveto(1.5,YOFFSET-0.0*0.8);
  482.         fontshow("~ Environment maps");
  483.         fontmoveto(1.5,YOFFSET-1.0*0.8);
  484.         fontshow("~ Texture maps");
  485.         break;
  486.  
  487.     case 25:
  488.         fontsetsize(0.8);
  489.         cpack(0x0000ffff);
  490.         fontmoveto(5.0,YOFFSET+1.0);
  491.         fontcentershow("Geometry Format");
  492.         cpack(0x00ffffff);
  493.         fontsetsize(LISTSIZE);
  494.         fontmoveto(1.5,YOFFSET-0.0*0.8);
  495.         fontshow("~ List of quads");
  496.         fontmoveto(1.5,YOFFSET-1.0*0.8);
  497.         fontshow("~ List of tris");
  498.         fontmoveto(1.5,YOFFSET-2.0*0.8);
  499.         fontshow("~ List of tmeshes");
  500.         break;
  501.  
  502.     case 26:
  503.         fontsetsize(0.8);
  504.         cpack(0x0000ffff);
  505.         fontmoveto(5.0,YOFFSET+1.0);
  506.         fontcentershow("Geometry Tools");
  507.         cpack(0x00ffffff);
  508.         fontsetsize(LISTSIZE);
  509.         fontmoveto(1.5,YOFFSET-0.0*0.8);
  510.         fontshow("~ spin");
  511.         fontmoveto(1.5,YOFFSET-1.0*0.8);
  512.         fontshow("~ totri");
  513.         fontmoveto(1.5,YOFFSET-2.0*0.8);
  514.         fontshow("~ tomesh");
  515.         fontmoveto(1.5,YOFFSET-3.0*0.8);
  516.         fontshow("~ subdiv");
  517.         fontmoveto(1.5,YOFFSET-4.0*0.8);
  518.         fontshow("~ warpgeom");
  519.         break;
  520.  
  521.     case 27:
  522.         fontsetsize(0.8);
  523.         cpack(0x0000ffff);
  524.         fontmoveto(5.0,YOFFSET+1.0);
  525.         fontcentershow("Font Tools");
  526.         cpack(0x00ffffff);
  527.         fontsetsize(LISTSIZE);
  528.         fontmoveto(1.5,YOFFSET-0.0*0.8);
  529.         fontshow("~ paintfont");
  530.         fontmoveto(1.5,YOFFSET-1.0*0.8);
  531.         fontshow("~ adjustfont");
  532.         fontmoveto(1.5,YOFFSET-2.0*0.8);
  533.         fontshow("~ charfill");
  534.         fontmoveto(1.5,YOFFSET-3.0*0.8);
  535.         fontshow("~ meshfont");
  536.         fontmoveto(1.5,YOFFSET-4.0*0.8);
  537.         fontshow("~ bevelstring");
  538.         fontmoveto(1.5,YOFFSET-5.0*0.8);
  539.         fontshow("~ fromtype1");
  540.         break;
  541.  
  542.     case 28:
  543.         fontsetsize(0.8);
  544.         cpack(0x0000ffff);
  545.         fontmoveto(5.0,YOFFSET+1.0);
  546.         fontcentershow("Misc Stuff");
  547.         cpack(0x00ffffff);
  548.         fontsetsize(LISTSIZE);
  549.         fontmoveto(1.5,YOFFSET-0.0*0.8);
  550.         fontshow("~ Wacom tablet driver");
  551.         fontmoveto(1.5,YOFFSET-1.0*0.8);
  552.         fontshow("~ vector and matrix lib");
  553.         fontmoveto(1.5,YOFFSET-2.0*0.8);
  554.         fontshow("~ triangularization lib");
  555.         fontmoveto(1.5,YOFFSET-3.0*0.8);
  556.         fontshow("~ tri mesh lib");
  557.         fontmoveto(1.5,YOFFSET-4.0*0.8);
  558.         fontshow("~ rgb to cmyk");
  559.         fontmoveto(1.5,YOFFSET-5.0*0.8);
  560.         fontshow("~ easy gl lighting");
  561.         break;
  562.  
  563.     case 29:
  564.         fontsetsize(0.8);
  565.         cpack(0x0000ffff);
  566.         fontmoveto(5.0,YOFFSET+1.0);
  567.         fontcentershow("More Misc Stuff");
  568.         cpack(0x00ffffff);
  569.         fontsetsize(LISTSIZE);
  570.         fontmoveto(1.5,YOFFSET-0.0*0.8);
  571.         fontshow("~ cpprint");
  572.         fontmoveto(1.5,YOFFSET-1.0*0.8);
  573.         fontshow("~ textmap");
  574.         fontmoveto(1.5,YOFFSET-2.0*0.8);
  575.         fontshow("~ spinps");
  576.         fontmoveto(1.5,YOFFSET-3.0*0.8);
  577.         fontshow("~ dynadraw");
  578.         fontmoveto(1.5,YOFFSET-4.0*0.8);
  579.         fontshow("~ more");
  580.         break;
  581.     case 30:
  582.         fontsetsize(0.8);
  583.         cpack(0x00e0e0e0);
  584.         fontmoveto(5.0,MYOFFSET+0.0);
  585.         fontcentershow("Computer Graphics");
  586.         fontmoveto(5.0,MYOFFSET-1.0);
  587.         fontcentershow("Snacks");
  588.         fontmoveto(5.0,MYOFFSET-2.0);
  589.         fontsetsize(0.8);
  590.         cpack(0x0000d0ff);
  591.         fontcentershow("Paul Haeberli");
  592.         break;
  593.     case 31:
  594.         fontsetsize(0.8);
  595.         cpack(0x0000ffff);
  596.         fontmoveto(5.0,MYOFFSET+0.0);
  597.         fontcentershow("LEEP Projection");
  598.         break;
  599.     case 32:
  600.         fontsetsize(0.8);
  601.         cpack(0x0000ffff);
  602.         fontmoveto(5.0,MYOFFSET+0.0);
  603.         fontcentershow("Red-Green");
  604.         fontmoveto(5.0,MYOFFSET-1.0);
  605.         fontcentershow("Stereo");
  606.         break;
  607.     case 33:
  608.         fontsetsize(0.8);
  609.         cpack(0x0000ffff);
  610.         fontmoveto(5.0,MYOFFSET+0.0);
  611.         fontcentershow("Using");
  612.         fontmoveto(5.0,MYOFFSET-1.0);
  613.         fontcentershow("Environment Maps");
  614.         break;
  615.     case 34:
  616.         fontsetsize(0.8);
  617.         cpack(0x0000ffff);
  618.         fontmoveto(5.0,MYOFFSET+0.0);
  619.         fontcentershow("Fold-Up");
  620.         fontmoveto(5.0,MYOFFSET-1.0);
  621.         fontcentershow("Environment Maps");
  622.         break;
  623.     case 35:
  624.         fontsetsize(0.8);
  625.         cpack(0x0000ffff);
  626.         fontmoveto(5.0,MYOFFSET+0.0);
  627.         fontcentershow("Painted");
  628.         fontmoveto(5.0,MYOFFSET-1.0);
  629.         fontcentershow("Environment Map");
  630.         break;
  631.     case 36:
  632.         fontsetsize(0.8);
  633.         cpack(0x0000ffff);
  634.         fontmoveto(5.0,MYOFFSET+0.0);
  635.         fontcentershow("Using a");
  636.         fontmoveto(5.0,MYOFFSET-1.0);
  637.         fontcentershow("Reflective Sphere");
  638.         break;
  639.     case 37:
  640.         fontsetsize(0.8);
  641.         cpack(0x0000ffff);
  642.         fontmoveto(5.0,MYOFFSET+0.0);
  643.         fontcentershow("High Quality");
  644.         fontmoveto(5.0,MYOFFSET-1.0);
  645.         fontcentershow("Rendering");
  646.         break;
  647.     case 38:
  648.         fontsetsize(0.8);
  649.         cpack(0x0000ffff);
  650.         fontmoveto(5.0,MYOFFSET+0.0);
  651.         fontcentershow("6-Point");
  652.         fontmoveto(5.0,MYOFFSET-1.0);
  653.         fontcentershow("Perspective");
  654.         break;
  655.     case 39:
  656.         fontsetsize(0.8);
  657.         cpack(0x0000ffff);
  658.         fontmoveto(5.0,MYOFFSET+0.0);
  659.         fontcentershow("Abstract");
  660.         fontmoveto(5.0,MYOFFSET-1.0);
  661.         fontcentershow("Representations");
  662.         break;
  663.     case 40:
  664.         fontsetsize(0.8);
  665.         cpack(0x0000ffff);
  666.         fontmoveto(5.0,MYOFFSET+0.0);
  667.         fontcentershow("Line Drawings");
  668.         fontmoveto(5.0,MYOFFSET-1.0);
  669.         fontcentershow("From Geometry");
  670.         break;
  671.     case 41:
  672.         fontsetsize(0.8);
  673.         cpack(0x0000ffff);
  674.         fontmoveto(5.0,MYOFFSET+0.0);
  675.         fontcentershow("Paint Font");
  676.         break;
  677.     case 42:
  678.         fontsetsize(0.8);
  679.         cpack(0x0000ffff);
  680.         fontmoveto(5.0,MYOFFSET+0.0);
  681.         fontcentershow("Mesh Warping");
  682.         break;
  683.     case 43:
  684.         fontsetsize(0.8);
  685.         cpack(0x0000ffff);
  686.         fontmoveto(5.0,MYOFFSET+0.0);
  687.         fontcentershow("Filtered");
  688.         fontmoveto(5.0,MYOFFSET-1.0);
  689.         fontcentershow("Mouse Input");
  690.         break;
  691.     case 44:
  692.         fontsetsize(0.8);
  693.         cpack(0x0000ffff);
  694.         fontmoveto(5.0,MYOFFSET+0.0);
  695.         fontcentershow("Image");
  696.         fontmoveto(5.0,MYOFFSET-1.0);
  697.         fontcentershow("Enhancement");
  698.         break;
  699.     case 45:
  700.         fontsetsize(0.8);
  701.         cpack(0x0000ffff);
  702.         fontmoveto(5.0,MYOFFSET+0.0);
  703.         fontcentershow("Encoding");
  704.         fontmoveto(5.0,MYOFFSET-1.0);
  705.         fontcentershow("Messages");
  706.         break;
  707.     case 46:
  708.         fontsetsize(0.8);
  709.         cpack(0x0000ffff);
  710.         fontmoveto(5.0,MYOFFSET+0.0);
  711.         fontcentershow("Reverse");
  712.         fontmoveto(5.0,MYOFFSET-1.0);
  713.         fontcentershow("Story Boards");
  714.         break;
  715.     case 47:
  716.         fontsetsize(0.8);
  717.         cpack(0x0000ffff);
  718.         fontmoveto(5.0,MYOFFSET+0.0);
  719.         fontcentershow("Parametric");
  720.         fontmoveto(5.0,MYOFFSET-1.0);
  721.         fontcentershow("Design");
  722.         break;
  723.     case 48:
  724.         fontsetsize(0.8);
  725.         cpack(0x0000ffff);
  726.         fontmoveto(5.0,MYOFFSET+0.0);
  727.         fontcentershow("Tiny Pix");
  728.         break;
  729.     case 49:
  730.         fontsetsize(0.8);
  731.         cpack(0x0000ffff);
  732.         fontmoveto(5.0,MYOFFSET+0.0);
  733.         fontcentershow("X-Ray Views");
  734.         break;
  735.     case 50:
  736.         fontsetsize(0.8);
  737.         cpack(0x0000ffff);
  738.         fontmoveto(5.0,MYOFFSET+0.0);
  739.         fontcentershow("Synthetic");
  740.         fontmoveto(5.0,MYOFFSET-1.0);
  741.         fontcentershow("Marbled Paper");
  742.         break;
  743.     case 51:
  744.         fontsetsize(0.8);
  745.         cpack(0x0000ffff);
  746.         fontmoveto(5.0,MYOFFSET+0.0);
  747.         fontcentershow("Light");
  748.         fontmoveto(5.0,MYOFFSET-1.0);
  749.         fontcentershow("Processing");
  750.         break;
  751.  
  752.     }
  753. }
  754.